package com.hema.auction.http;

import java.io.IOException;

import okhttp3.Call;

/**
 * author by john
 */

public class HttpInfo {
    private String result;
    private HttpTag httpTag;
    private Call call;
    private IOException e;

    public HttpInfo(HttpTag httpTag, Call call, String result) {
        this.httpTag = httpTag;
        this.call = call;
        this.result = result;
    }

    public HttpInfo(HttpTag httpTag, Call call, IOException e) {
        this.call = call;
        this.httpTag = httpTag;
        this.e = e;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public HttpTag getHttpTag() {
        return httpTag;
    }

    public void setHttpTag(HttpTag httpTag) {
        this.httpTag = httpTag;
    }

    public Call getCall() {
        return call;
    }

    public void setCall(Call call) {
        this.call = call;
    }


    public IOException getE() {
        return e;
    }

    public void setE(IOException e) {
        this.e = e;
    }
}
